<%--
  Created by IntelliJ IDEA.
  User: 24893
  Date: 2022/12/1
  Time: 8:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/film_list.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
    <script src="${pageContext.request.contextPath}/layui/layui.js"></script>
    <script src="${pageContext.request.contextPath}/layer.js"></script>
</head>
<body>
<div class="layui-container header">
    <div class="layui-row ">
        <div class="layui-col-md2">
            <img src="${pageContext.request.contextPath}/images/logo.png" alt="">
            <p class="logo_font">IRON电影</p>
        </div>
        <div class="layui-col-md4" style="margin-left: 100px">
            <span class="layui-breadcrumb " lay-separator="  " >
             <a href="http://localhost:8080/demo/product">首页</a>
                  <a href="http://localhost:8080/demo/film">电影</a>
                <a href="https://www.bilibili.com/">体育</a>
                <a href="https://www.bilibili.com/">搞笑</a>
                <a href="https://www.bilibili.com/">视频</a>
                <a href="${pageContext.request.contextPath}/hot.jsp">热点</a>

                <a href="${pageContext.request.contextPath}/movie_rank.jsp">榜单</a>
          </span>
        </div>
        <div class="layui-col-md2">
            <div class="header_user">
                <a href="${pageContext.request.contextPath}/personalCenter.jsp" id="header_myself"><span>个人中心</span></a>
                <a href="${pageContext.request.contextPath}/personalCenter.jsp"> <img id="header_myself_logo" src="${pageContext.request.contextPath}/images/user.png" alt=""></a>
            </div>
        </div>
    </div>
</div>
<div class="main">
    <h1>全部电影</h1>

    <ul>
        <c:forEach var="film" items="${filmList}" >
        <li>
            <a href="http://localhost:8080/demo/film/${film.filmProid}"><img src="${film.filmImg}"></a>
            <br>
            <a href="http://localhost:8080/demo/film/${film.filmProid}">${film.filmCname}</a>
        </li>
        </c:forEach>
        <c:forEach var="film" items="${filmList}" >
            <li>
                <a href="http://localhost:8080/demo/film/${film.filmProid}"><img src="${film.filmImg}"></a>
                <br>
                <a href="http://localhost:8080/demo/film/${film.filmProid}">${film.filmCname}</a>
            </li>
        </c:forEach>
        <c:forEach var="film" items="${filmList}" >
            <li>
                <a href="http://localhost:8080/demo/film/${film.filmProid}"><img src="${film.filmImg}"></a>
                <br>
                <a href="http://localhost:8080/demo/film/${film.filmProid}">${film.filmCname}</a>
            </li>
        </c:forEach>
        <c:forEach var="film" items="${filmList}" >
            <li>
                <a href="http://localhost:8080/demo/film/${film.filmProid}"><img src="${film.filmImg}"></a>
                <br>
                <a href="http://localhost:8080/demo/film/${film.filmProid}">${film.filmCname}</a>
            </li>
        </c:forEach>
    </ul>
</div>
</body>
</html>
